import { useRouter } from '#imports'

// eslint-disable-next-line unused-imports/no-unused-vars
export default defineNuxtPlugin((nuxtApp) => {
  const router = useRouter()

  router.beforeEach(async (to, from) => {
    console.log(to, from, '111111122')
  })
})
